package com.yc.psychologicalconsultant.vo;

import com.yc.psychologicalconsultant.validator.IsEmail;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author YC
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserRegisterByEmailVO {
    @NotEmpty
    private String username;

    @NotEmpty
    private String password;

    @IsEmail
    private String email;

    @NotEmpty
    private String code;
}
